package com.bbzn.user.client.service;

import java.util.List;
import com.bbzn.user.client.dataobject.UserRole;
public interface UserRoleService{


    int insert(UserRole record);

    int insertOrUpdate(UserRole record);

    int insertOrUpdateSelective(UserRole record);

    int insertSelective(UserRole record);

    List<UserRole> findByAll(UserRole userRole);

    int batchInsert(List<UserRole> list);

    int removeByUserId(Long userId);

    int getRoleIdByUserId(Long userId);

}
